package cn.org.itool.common.service.impl;

import cn.org.itool.common.constent.CodeEnum;
import cn.org.itool.common.constent.LoginEnum;
import cn.org.itool.common.exception.BizException;
import cn.org.itool.common.service.LoginService;
import org.springframework.stereotype.Component;


@Component
public class FrameLoginDefaultService implements LoginService {
    @Override
    public LoginEnum type() {
        return LoginEnum.DEFAULT;
    }

    @Override
    public String getUserIdByToken(String token) {
        throw new BizException(CodeEnum.ERROR, "WebLoginService#getUserIdByToken impl is null");
    }
}
